package com.cssy.xxkj.logic.dao;

import java.util.List;
import java.util.Map;

import org.springframework.dao.DataAccessException;

import com.cssy.xxkj.logic.entity.LogicProductionStorageinItemDO;

/**
 * 数据访问对象接口
 * @since 2014-10-09
 */
public interface LogicProductionStorageinItemDAO extends LogicBizDAO<LogicProductionStorageinItemDO>{

    /**
     * 插入数据
     * @param logicProductionStorageinItemDO
     * @return 插入数据的主键
     */
    public String insertLogicProductionStorageinItemDO(LogicProductionStorageinItemDO logicProductionStorageinItemDO) throws DataAccessException;

    /**
     * 统计记录数
     * @param logicProductionStorageinItemDO
     * @return 查出的记录数
     */
    public Integer countLogicProductionStorageinItemDOByExample(LogicProductionStorageinItemDO logicProductionStorageinItemDO) throws DataAccessException;

    /**
     * 更新记录
     * @param logicProductionStorageinItemDO
     * @return 受影响的行数
     */
    public Integer updateLogicProductionStorageinItemDO(LogicProductionStorageinItemDO logicProductionStorageinItemDO) throws DataAccessException;

    /**
     * 获取对象列表
     * @param logicProductionStorageinItemDO
     * @return 对象列表
     */
    public List<LogicProductionStorageinItemDO> findListByExample(LogicProductionStorageinItemDO logicProductionStorageinItemDO) throws DataAccessException;

    
    public List<LogicProductionStorageinItemDO> findListByMap(Map<String, Object> paramMap)throws DataAccessException;
    /**
     * 根据主键获取logicProductionStorageinItemDO
     * @param id
     * @return logicProductionStorageinItemDO
     */
    public LogicProductionStorageinItemDO findLogicProductionStorageinItemDOByPrimaryKey(String id) throws DataAccessException;
    
    /**
     * 删除记录
     * @param id
     * @return 受影响的行数
     */
    public Integer deleteLogicProductionStorageinItemDOByPrimaryKey(String id) throws DataAccessException;
    
    /**
     * 删除记录
     * @param id
     * @return 受影响的行数
     */
    public Integer deleteProById(String id) throws DataAccessException;

}